package com.pan.entity;



import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class Depository{
    Integer id;
    String name;
    Integer district1Id;
    String district1Name;
    Integer district2Id;
    String district2Name;
    Integer district3Id;
    String district3Name;
    String address;


    public String getAllAddress(){
        return district1Name+district2Name+district3Name+address;
    }


}